package com.java.base.annotation;

public class AnnotationTest {

    public static void main(String[] args) {
        Class<AnnotationBean1> c1 = AnnotationBean1.class;
        Class<AnnotationBean2> c2 = AnnotationBean2.class;

        System.out.println(c1.getAnnotation(Annotation1.class).equals(c2.getAnnotation(Annotation1.class)));

    }
}
